﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Xugege.AbpExtension.Com.Dto
{

    public class DataWithCodeDto<T1, T2> where T2 : class, new()
    {
        public T1 Id { get; set; }

        public string Code { get; set; }

        public string ParentCode { get; set; }

        public IList<T2> Data { get; set; }
    }

    public class DataWithCodeDto<T>
    {
        public T Id { get; set; }

        public string Code { get; set; }

        public string ParentCode { get; set; }

        public IList<object> Data { get; set; }
    }

    public class DataWithCodeDto
    {
        public long Id { get; set; }

        public string Code { get; set; }

        public string ParentCode { get; set; }

        public IList<object> Data { get; set; }
    }
}
